package com.yc.spring.demo.biz;

import com.yc.spring.demo.mapper.UserMapper;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Company 源辰信息
 *
 * @author navy
 * @date 2024/7/31
 * Email haijunzhou@hnit.edu.cn
 */
// 业务层
@Data
@Service
public class UserBiz implements IUserBiz {
    @Autowired
    private UserMapper userMapper;

    @Override
    public void login(String name, String pwd) {
        System.out.println("-----login------");
    }

    @Override
    public void findByObject(Object user) {
        System.out.println("-----findByObject------");
    }
}
